package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author suntf
 * @since 2023-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_region")
public class SysRegion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 区域名称
     */
    private String code;

    /**
     * 区域编码
     */
    private String name;

    /**
     * 简称
     */
    private String shortName;

    /**
     * 父级编码
     */
    private String parentCode;

    /**
     * 等级
     */
    private String grade;

    /**
     * 精度
     */
    private String lng;

    /**
     * 维度
     */
    private String lat;

    private Integer sort;

    private LocalDateTime createTime;

    private String remark;

    private String status;


}
